using MediatR;
using B.S.RbacData.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace SupplierCustomerManagement.Write.API.Applications.Commands.customers
{
    /// <summary>
    /// 批量逻辑删除客户命令
    /// </summary>
    public class BatchDeleteCustomersCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 客户ID集合
        /// </summary>
        [Required(ErrorMessage = "客户ID集合不能为空")]
        public List<int> Ids { get; set; } = new List<int>();
    }
}
